package day08;

public class StringBuilderDemo {
    public static void main(String[] args) {
     StringBuilder x = new StringBuilder("abc");

     x.append("def").append("xyz12345678901");

        System.out.println(x.capacity());

        System.out.println(x.length());

        StringBuilder y = new StringBuilder();
        x.append("hello");

        System.out.println(y);
        StringBuilder delStr = y.delete(1,3);
    }
}
